﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.drsofts.age.pluginsdk.utils;

namespace com.drsofts.age.pluginsdk.ui
{
    public class AgePageProvider : System.Web.UI.Page
    {
        protected void Page_PreInit(object sender, EventArgs e)
        {
            
            String masterPageFile = (String)Application["MasterPageFile"];
            if (masterPageFile == null)
                throw new MasterPageNotFoundException("The master page file template is not found.");

            this.MasterPageFile = masterPageFile;

        }
    }
}
